package io.renren.modules.xm.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 产品订单
 * 
 * @author liuyonggang
 * @email 544872316@qq.com
 * @date 2018-06-28 15:59:53
 */
@TableName("xm_order_info")
public class OrderInfoEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 订单ID
	 */
	@TableId
	private Integer id;
	/**
	 * 产品ID
	 */
	private Integer customerId;
	private String customerName;
	/**
	 * 产品ID
	 */
	private Integer categoryId;
	private String categoryName;

	/**
	 * 技师ID
	 */
	private Integer workId;
	private String workerName;

	/**
	 * 订单日期
	 */
	private Long orderTi;
	/**
	 * 支付状态：(0:未支付,1支付成功,-1支付失败;2:放弃支付3:已退款;
	 */
	private Integer payStatusId;
	/**
	 * 订单总金额
	 */
	private Double totalAmt;
	/**
	 * 折扣金额
	 */
	private Double totalDiscount;
	/**
	 * 备注
	 */
	private String remark;
	/**
	 * 状态
	 */
	private Integer stateId;
	/**
	 * 创建时间
	 */
	private Long createTi;
	private String createTiStr;

	/**
	 * 创建人
	 */
	private Integer createUserId;
	private String createUserName;

	/**
	 * 修改时间
	 */
	private Long modifyTi;
	/**
	 * 修改人
	 */
	private Integer modifyUserId;
	/**
	 * 版本号
	 */
	private Integer version;

	/**
	 * 设置：订单ID
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：订单ID
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：产品ID
	 */
	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}
	/**
	 * 获取：产品ID
	 */
	public Integer getCategoryId() {
		return categoryId;
	}
	/**
	 * 设置：技师ID
	 */
	public void setWorkId(Integer workId) {
		this.workId = workId;
	}
	/**
	 * 获取：技师ID
	 */
	public Integer getWorkId() {
		return workId;
	}
	/**
	 * 设置：订单日期
	 */
	public void setOrderTi(Long orderTi) {
		this.orderTi = orderTi;
	}
	/**
	 * 获取：订单日期
	 */
	public Long getOrderTi() {
		return orderTi;
	}
	/**
	 * 设置：支付状态：(0:未支付,1支付成功,-1支付失败;2:放弃支付3:已退款;
	 */
	public void setPayStatusId(Integer payStatusId) {
		this.payStatusId = payStatusId;
	}
	/**
	 * 获取：支付状态：(0:未支付,1支付成功,-1支付失败;2:放弃支付3:已退款;
	 */
	public Integer getPayStatusId() {
		return payStatusId;
	}
	/**
	 * 设置：订单总金额
	 */
	public void setTotalAmt(Double totalAmt) {
		this.totalAmt = totalAmt;
	}
	/**
	 * 获取：订单总金额
	 */
	public Double getTotalAmt() {
		return totalAmt;
	}
	/**
	 * 设置：折扣金额
	 */
	public void setTotalDiscount(Double totalDiscount) {
		this.totalDiscount = totalDiscount;
	}
	/**
	 * 获取：折扣金额
	 */
	public Double getTotalDiscount() {
		return totalDiscount;
	}
	/**
	 * 设置：备注
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}
	/**
	 * 获取：备注
	 */
	public String getRemark() {
		return remark;
	}
	/**
	 * 设置：状态
	 */
	public void setStateId(Integer stateId) {
		this.stateId = stateId;
	}
	/**
	 * 获取：状态
	 */
	public Integer getStateId() {
		return stateId;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTi(Long createTi) {
		this.createTi = createTi;
	}
	/**
	 * 获取：创建时间
	 */
	public Long getCreateTi() {
		return createTi;
	}
	/**
	 * 设置：创建人
	 */
	public void setCreateUserId(Integer createUserId) {
		this.createUserId = createUserId;
	}
	/**
	 * 获取：创建人
	 */
	public Integer getCreateUserId() {
		return createUserId;
	}
	/**
	 * 设置：修改时间
	 */
	public void setModifyTi(Long modifyTi) {
		this.modifyTi = modifyTi;
	}
	/**
	 * 获取：修改时间
	 */
	public Long getModifyTi() {
		return modifyTi;
	}
	/**
	 * 设置：修改人
	 */
	public void setModifyUserId(Integer modifyUserId) {
		this.modifyUserId = modifyUserId;
	}
	/**
	 * 获取：修改人
	 */
	public Integer getModifyUserId() {
		return modifyUserId;
	}
	/**
	 * 设置：版本号
	 */
	public void setVersion(Integer version) {
		this.version = version;
	}
	/**
	 * 获取：版本号
	 */
	public Integer getVersion() {
		return version;
	}

	public Integer getCustomerId() {
		return customerId;
	}

	public void setCustomerId(Integer customerId) {
		this.customerId = customerId;
	}

	public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public String getWorkerName() {
		return workerName;
	}

	public void setWorkerName(String workerName) {
		this.workerName = workerName;
	}

	public String getCreateUserName() {
		return createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}

	public String getCreateTiStr() {
		return createTiStr;
	}

	public void setCreateTiStr(String createTiStr) {
		this.createTiStr = createTiStr;
	}
}
